import os

rm_path = './arc'

def rm_folder():
    pass

if __name__ == '__main__':
    for foldername, subfolders, filenames in os.walk(rm_path):
        for fn in filenames:
            print('File {} have been removed'.format(os.path.join(rm_path, fn)))
            os.remove(os.path.join(rm_path, fn))
        for sfn in subfolders:
            print('Folder {} have been removed'.format(os.path.join(rm_path, sfn)))
            os.rmdir(os.path.join(rm_path, sfn))

        os.rmdir(rm_path)
        print('Folder {} have been removed'.format(rm_path))
